package com.wpen.unit.web.dto.job;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.wpen.unit.commun.BaseResponse;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "依赖图-查询(响应)")
@Data
@EqualsAndHashCode(callSuper=false)
public class DependonMapResponse extends BaseResponse implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;
    
    @Schema(description =  "行数")
    private int maxRow;
    @Schema(description =  "列数")
    private int maxCol;
    @Schema(description =  "节点对象")
    private List<DependonMapRowsResponse> nodes = new ArrayList<>();
    @Schema(description =  "线对象")
    private List<DependonMapRowsResponse> links = new ArrayList<>();

}